package es.deusto.tralala.data;

import java.io.Serializable;

import javax.jdo.annotations.PersistenceCapable;

@PersistenceCapable(detachable = "true")
public class Usuario implements Serializable{
	private String nick;
	private String contrasena;
	private String email;
	private int tipoPago;
	private static final long serialVersionUID = 1L;
	
	public Usuario(String nick, String contrasena, String email, int tipoPago) {
		super();
		this.nick = nick;
		this.contrasena = contrasena;
		this.email = email;
		this.tipoPago = tipoPago;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getContrasena() {
		return contrasena;
	}

	public void setContrasena(String contrasena) {
		this.contrasena = contrasena;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getTipoPago() {
		return tipoPago;
	}

	public void setTipoPago(byte tipoPago) {
		this.tipoPago = tipoPago;
	}

}
